CGI.getFileName

Get the file name of the the file posted/put in the cgi envirnment with the variable string name with the index. Keep in mind that a variable can exist multiple times in the cgi environment and the index allows us to specify exactly which one.

returns a string containing the original name of the file uploaded.

  1. string getFileName(string name)
  2. string getFileName(string name, int index)
    class CGI
    string
    getFileName
    (
    string name
    ,
    int index
    )

Meta